<?php
/** 
 * 剪刀类
 * 
 * @author whq
 * 
 * 
 */
class Clipper implements iTool 
{
	/**
	 * 
	 * 摘果
	 * @see iTool::useTool()
	 */
	public function useTool( $key )
	{
		$forest = Forest::getInstance();
		if( $forest[ $key ]->getGainsValue() > 0 )
		{
			$forest[ $key ]->getGains();
			return true;
		}
		return false;
	}
}

?>